jQuery(document).ready(function($){	

jQuery(document).ready(function($){
    $('#slider').bxSlider({
	    easing: 'swing',
		auto:true,
		pause:5000,

	});
  });
  
      jQuery(document).ready(function($) { 
        $('ul.sf-menu').superfish({
		delay:         50,
		animation:   {opacity:'show',height:'show'},  // fade-in and slide-down animation 
        speed:       'fast', 
		}); 
    }); 
  
	$('ul.tabs').each(function() {
		$(this).find('li').each(function(i) {
			$(this).click(function(){
				$(this).addClass('current').siblings().removeClass('current')
					.parents('div.widget_posts').find('div.post_box').hide().end().find('div.post_box:eq('+i+')').fadeIn(150);
			});
		});
	});	
	

jQuery(document).ready(function($){
$("#featured").tabs({fx:{opacity: "toggle"}}).tabs("rotate", 5000, true);
		$("#featured").hover(
			function() {
				$("#featured").tabs("rotate",0,true);
			},
			function() {
				$("#featured").tabs("rotate",5000,true);
			}
		);
});

});